#ifndef _SINGLETON_H
#define _SINGLETON_H

namespace share
{

template<class TYPE>
class Singleton
{
private:
	Singleton( void );

	~Singleton( void );

	static TYPE *instance_;
	static TYPE *instance_i( );
public:
	static TYPE * instance( );
};

#include "Singleton.cpp"

}

#endif
